#ifndef PHP_H_
#define PHP_H_

#include "Common.h"
#include "FastCGI.h"
#include "HttpRequest.h"

class PhpHandler
{
    public:
        PhpHandler();

        virtual ~PhpHandler();

        void Process(int sockfd, const HttpRequest* req);

    private:
        void ErrorResponse(int sockfd, const HttpRequest* req);

        FastCGI* _FastCGIObj;
};


#endif /* PHP_H_ */
